package com.fz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fz.core.BaseEntity;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 *
 * </p >
 *
 * @author fz
 * @since 2024-08-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("parking_space")
public class ParkingSpace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 中文例如A区、b区
     */
    private String content;

    /**
     * 车主姓名
     */
    private String username;

    /**
     * 用户id
     */
    private Integer parkingId;

    /**
     * 绑定车辆车牌号
     */
    private String carNumber;

    /**
     * 是否占用（0/1）1空闲 0占有
     */
    private Integer occupied;
    public ParkingSpace(Long id,Integer status)
    {
        super(id);
        this.occupied=status;
    }

}
